#ifndef FACTORY_HPP

#define FACTORY_HPP

#include "Include.h"

template <class T>

class Factory
{
public:
	Factory()
	{
		items.reserve(1000);
	}

	~Factory()
	{
		items.clear();
	}

	T &operator[](int i)
	{
		return items[i];
	}

	const unsigned int getSize() const
	{
		return items.size();
	}

private:
	std::vector<T> items;
};

#endif